import { IUserClass } from '@/shared/model/user-class.model';
import { IUserRole } from '@/shared/model/user-role.model';

export interface ITeacher {
  id?: number;
  teacherAccount?: string;
  teacherName?: string | null;
  teacherStatus?: number | null;
  teacherPassword?: string;
  userClasses?: IUserClass[] | null;
  userRoles?: IUserRole[] | null;
}

export class Teacher implements ITeacher {
  constructor(
    public id?: number,
    public teacherAccount?: string,
    public teacherName?: string | null,
    public teacherStatus?: number | null,
    public teacherPassword?: string,
    public userClasses?: IUserClass[] | null,
    public userRoles?: IUserRole[] | null
  ) {}
}
